package service;

import dao.TeacherDao;
import pojo.Student;
import pojo.Teacher;

/**
 * @author tao
 * @date 2021/11/10
 */
public class TeacherServiceImpl implements TeacherService{

    private TeacherDao teacherDao;

    public void setTeacherDao(TeacherDao teacherDao) {
        this.teacherDao = teacherDao;
    }

    public Teacher selectTeacher(int id) {
        return teacherDao.selectTeacher(id);
    }

    public Teacher teacherPassword(int id) {
        return teacherDao.teacherPassword(id);
    }
}
